package com.puppet.building182.service;

import com.puppet.building182.pojo.Building;
import com.puppet.building182.pojo.Result;
import com.puppet.building182.pojo.VO.BuildingVo;


import java.util.List;

public interface BuildingService {
    List<Building> getAllBuildings(String search);

    Integer addBuilding(Building building);

    Integer deleteBuildingById(Integer buildingId);

    Integer deleteBuildings(List<Integer> buildings);

    Integer updateBuilding(Building building);

    Building  getBuildingById(Integer buildingId);

    List<BuildingVo> getBuildingNameAndId();
}
